#pragma once

#include "desktopdlg.h"
#include "afxwin.h"

// CCombineDlg dialog

class CCombineDlg : public CDialog
{
	DECLARE_DYNAMIC(CCombineDlg)

public:
	CCombineDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CCombineDlg();

// Dialog Data
	enum { IDD = IDD_COMBINE_DLG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	CDesktopDlg m_DesktopDlg;
	int m_selArea;

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	void hitDesk(int nSel);
public:
	CComboBox m_areaBox;
	int			nArea;
	int			nDesk;
	int			nHitDesk;
	int			nHitArea;
public:
	afx_msg void OnCbnSelchangeCombo1();
protected:
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
public:
	CString m_comArea;
public:
	CString m_comDesk;
public:
	afx_msg void OnBnClickedOk();
public:
	INT64 m_nSerial;
public:
	CString m_areaName;
public:
	CString m_deksName;
public:
	CString m_orderDate;
public:
	CString m_orderTime;
public:
	CString m_nowDate;
public:
	CString m_nowTime;
};
